﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace edu.Model
{
    /// <summary>
    /// 订单头
    /// </summary>
    [Serializable]
    public class OrderHead : Item
    {
        /// <summary>
        /// 本地订单号
        /// </summary>
        public virtual string OrderNum { get; set; }

        /// <summary>
        /// 购买人
        /// </summary>
        public virtual int UserId { get; set; }

        /// <summary>
        /// 是否已支付
        /// </summary>
        public virtual bool Paid { get; set; }

        /// <summary>
        /// 第三方订单号
        /// </summary>
        public virtual string PaidNum { get; set; }

        /// <summary>
        /// 支付时间
        /// </summary>
        public virtual DateTime PaidTime { get; set; }

        /// <summary>
        ///  订单细节
        /// </summary>
        public virtual IList<OrderItem> OrderItems { get; set; }
    }
}
